package Package.Example.Example_2;

public class Producer_ConsumerModel_Example {
    public static final void Producer_ConsumerModel_Example() {
        Box b = new Box();
        Producer p = new Producer(b);
        Customer c = new Customer(b);
        Thread t1 = new Thread(p);
        Thread t2 = new Thread(c);
        t1.start();
        t2.start();

    }
}
